Skip to main content
GET
/
payments
Get multiple payments
curl --request GET \
  --url https://your_a2_service/payments \
  --header 'Authorization: Bearer <token>'
[
  {
    "amount": 123,
    "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payment_method": "<string>",
    "status": "charged",
    "created_at": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "no": 123,
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

owner_id
string<uuid>
required

The owner's id

Response

Successful Response

amount
integer
required

The amount paid

owner_id
string<uuid>
required

The owner's id

payment_method
string
required

The payment methods. e.g. card

status
enum<string>
required

The current status of the payment

Available options:
charged,
refunding,
refunded
created_at
string<date-time> | null

The date and time the entity was created.

id
string<uuid> | null

The id of the payment

no
integer | null

The sequential number of the payment

updated_at
string<date-time> | null

The date and time the entity was last updated.